package com.zjitc;

import com.zjitc.obj.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/8 14:30
 * @description:
 */
public class App1 {

  public static void main(String[] args) {
    ApplicationContext context=new ClassPathXmlApplicationContext("spring-mybites.xml");
    User user = context.getBean("user", User.class);

  }

}
